Discover linux performance monitoring commands, include the articles, news, trends, analysis and practical advice about linux performance monitoring commands on alibabacloud.com
20 Common Linux performance monitoring Tools/commands20 command-line system monitoring tools that are useful and most commonly used by Linux/unix system administrators. These commands can be used under all versions of
queue.%UTIL:I/O requests account for the percentage of the CPU, the higher the ratio, the more saturated the description.1. When the value of Avgqu-sz is low, the equipment utilization is higher.2. When the value of%util is close to 1%, it indicates that the device bandwidth is already fullTo determine the system bottleneck, it is sometimes necessary to combine several SAR command options.Suspected CPU bottlenecks, sar-u and sar-q can be used to viewSuspect memory bottlenecks and can be viewed
Linux performance testing and monitoring sar commands
Sar (System Activity Reporter System Activity Report) is one of the most comprehensive System performance analysis tools on Linux. It can report System activities from multiple
In Web site performance optimization, we often have to check the various indicators of the server in order to quickly find the black sheep. In most cases, we use monitoring software such as cacti, Nagois, or Zabbix, but this kind of software is cumbersome to install, and in a small server we want to find out as quickly as possible, or use some of the commands tha
Linux performance monitoring and Common commands
As a DBA, it is also necessary to have certain Linux server performance monitoring knowledge. Sometimes Oracle database
Linux system performance monitoring common commands
Blog Categories:Technical methods
First, Linux server performance concerns
1) CPU
-> load: The sum of statistics that represents the tasks that the CPU is processing and waiting
Analyzer or packet sniffer program-to capture or filter TCP/IP packets received or transferred from a specific interface on the network. It also saves the captured package to a folder. Tcpdump can be used on all major Linux distributions.5.netstat--Network StatisticsNetstat is a command-line tool for monitoring incoming and outgoing network packet information and interface information statistics. It is use
The basic functions of the top command and ps command are the same, displaying the current process of the system and other conditions. However, the top command is a dynamic display process, that is, you can press the key to continuously refresh the current state. Such? The front-end executes this command, and it will exclusively occupy the front-end until the user terminates the program.
More accurately, the top command provides real-time monitoring o
courier START process, but they do not belong to the user ZahnLsof-p30297 //show those files are turned on by the PID 30297 processLSOF-D/tmp shows all theThe tmp folder opens the process for instance and files. But the symbol file is not listed lsof-u1000//View the file usage of the user's process UID is 100Lsof-utony//view file Usage for user Tony's processLsof-u^tony//view file Usage for processes that are not user Tony (^ is inverse meaning)Lsof-i//Show all open portsLsof-i: the //Show all
Recent need to collate commands for device performance monitoring (Linux)1. UptimeEg:22:59:10 up, 23:05, 3 users, load average:0.29, 0.43, 0.94One minute, five minutes, 15 minute load respectivelyRepresents the average number of processes waiting in the CPU wait queue per unit time2. free [-B | -k| -m] Specifies the ou
?" Enable all warning options unless there is an excellent reason for not doing so.
10. lint
At first, lint was used to check unportable code in C language, but now it is not just a portability check program, you can also check out the features in the code that are portable and fully compliant with the syntax but are likely to be incorrect.
Lint has many versions. in Linux, splint can be used for installation through apt-get.
Integrated debugging: gd
H: Switch to show all threads1: Show individual CPU runs (similar commands and Mpstat)ps-ef or ps-aux Show all processes, except for different display stylesps-elf | grep java | wc-l count Java threadsConvert Java to httpd to count Apache threadsFind, DF, du, iostat disk IO commandfind/home/admin/-name "Hsf.log" to find a file named Hsf.log under the/home/admin/pathdf-ha View the disk usage of the file systemDu-ak | sort-t$ ' \ t '-l1-nr-k2-r All fil
file server, so it is important to distinguish between different types of applications, usually the application can be divided into two types:①io related, IO-related applications are often used to process large amounts of data, require a lot of memory and storage, frequent IO operations to read and write data, and less CPU requirements, most of the time the CPU is waiting for the hard disk, such as database server, file server, etc. ②CPU related, CPU-related applications need to use a large num
Common commands for linux system monitoring and Common commands for linux monitoring
Original article: http://blog.sina.com.cn/s/blog_68f1c17001016uvy.html
Linux provides many tools us
Introduction to common linux performance monitoring tools and linux performance monitoring tools
Record several frequently used ones.1. top/htop
As we all know about top, there are several common parameters: (you can also start an
Linux commands-monitoring and linux Command monitoring
1. netstat
Displays network-related information, such as network connection, route table, Interface Statistics, masquerade connection, and Multicast member (Multicast Memberships.
Common parameters:
-A (all) shows all
. The following are common tools used by VPSee:
Tools
Brief Introduction
Top
View process activity status and system status
Vmstat
View system status, hardware, and system information
Iostat
View CPU load and hard disk status
Sar
Integrated tools to view system conditions
Mpstat
View multi-processor status
Netstat
View network conditions
Iptraf
Real-time net
Daily monitoring and debugging of Linux system performance is a heavy task for the system and network administrators. Five years after working as a Linux system administrator in the IT field, I gradually realized how difficult IT is to monitor and keep the system up and running. For this reason, we have compiled the li
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.